home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / sprbat3b.zip / SUPERBAT.DOC < prev    next >
Text File  |  1990-04-30  |  47KB  |  1,453 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                         ╔════════════════════════════╗
  9.           ╔═════════════╝ ************************** ╚═════════════╗
  10.           ║                  SuperBat Utilities 3                  ║
  11.           ╚═════════════╗ ************************** ╔═════════════╝
  12.                         ╚════════════════════════════╝
  13.  
  14.                           T H E   S U P E R   O N E !
  15.  
  16.                     ┌────────────────────────────────────┐
  17.           ┌─────────┘           Compliments of           └─────────┐
  18.           │              Winchester Computer Systems               │
  19.           │                  802 N. Federal Blvd.                  │
  20.           │                Riverton, Wyoming  82501                │
  21.           └─────────┐           (307) 856-1725           ┌─────────┘
  22.                     └────────────────────────────────────┘
  23.  
  24.  ******************************************************************************
  25.                           and the Winchester BBS at
  26.                                 (307) 856-5072
  27.  
  28.  
  29.                                    N O T E !
  30.  
  31.  
  32.                This collection of utilities has been compiled by
  33.            Elmer Robinson of Winchester Computer Systems. Please make
  34.             note of the word compiled. I actually wrote only four of
  35.            the utilities included here. The others are simply little
  36.                  goodies that I have found and used to add some
  37.               functionality and usefulness to my own batch files.
  38.  
  39.                   These utilities are pretty straight forward.
  40.                Instructions (as far as they go), are as follows:
  41.  
  42.           **********************************************************
  43.  
  44.  
  45.                                ┌──────────────┐
  46.                                │ ANSI     SYS │
  47.                                └──────────────┘
  48.  
  49.               This is a replacement for the DOS ansi.sys device
  50.           driver. It will speed up your screen displays quite a bit.
  51.           I have used it with many versions of DOS (even on
  52.           networks), and found no compatibility problems at all.
  53.  
  54.  
  55.                                ┌──────────────┐
  56.                                │ TRYBEBE  COM │
  57.                                └──────────────┘
  58.  
  59.               This is very complex and is explained in detail at the
  60.           end of this document.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.                                ┌──────────────┐
  72.                                │ BEEP     EXE │
  73.                                └──────────────┘
  74.  
  75.               This one is as easy as it gets. It will sound a tone
  76.           on the speaker of your computer.
  77.  
  78.  
  79.                                ┌──────────────┐
  80.                                │ BRK       ???│
  81.                                └──────────────┘
  82.  
  83.               This will allow you to disable the CTRL-BREAK, CTRL-C
  84.          key combination, thus preventing anyone from terminating the
  85.          execution of your batch files. To use this utility you must
  86.          install BRK.DRV in your CONFIG.SYS file with the line:
  87.  
  88.               DEVICE=BRK.DRV
  89.  
  90.          At this point CTRL-BREAK is disabled. Use the BRK.COM to
  91.          toggle break status on or off with the following syntax:
  92.  
  93.               BRK ON or BRK OFF
  94.  
  95.  
  96.                                ┌──────────────┐
  97.                                │ CNTDN    COM │
  98.                                └──────────────┘
  99.  
  100.               Simply displays a countdown on the screen. Syntax is as
  101.          follows:
  102.  
  103.          CNTDN xxx
  104.  
  105.               Where xxx is a number from 1-999
  106.  
  107.  
  108.                                ┌──────────────┐
  109.                                │ NO       COM │
  110.                                └──────────────┘
  111.  
  112.               This utility is handy to use outside of batch files
  113.           also. It allows you to include exceptions to DOS commands.
  114.           For example, if I wanted to delete all files from my
  115.           current location except COMMAND.COM, I would type:
  116.  
  117.           no command.com del *.*
  118.  
  119.  
  120.                                ┌──────────────┐
  121.                                │ NOCURS   COM │
  122.                                └──────────────┘
  123.  
  124.               This is pretty self explanatory. It will eliminate the
  125.           cursor. Useful for when you want to clean up the display
  126.           of your screens.
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.                                ┌──────────────┐
  138.                                │ NORMAL   COM │
  139.                                └──────────────┘
  140.  
  141.               This one restores the cursor that you eliminated with
  142.           NOCURS.COM.
  143.  
  144.                                ┌──────────────┐
  145.                                │ NO-RESET COM │
  146.                                └──────────────┘
  147.  
  148.               This is a handy utility that will disable the
  149.          CTRL-ALT-DEL keystroke.
  150.  
  151.  
  152.                                ┌──────────────┐
  153.                                │ RAW      COM │
  154.                                └──────────────┘
  155.  
  156.               This utility will set you screen in direct write mode.
  157.           If you use this in your autoexec.bat file and the ansi.sys
  158.           replacement in your config.sys file, even a PC will look
  159.           like an AT. Type    raw on
  160.  
  161.  
  162.                                ┌──────────────┐
  163.                                │ REBEEP   COM │
  164.                                └──────────────┘
  165.  
  166.               Sounds a continual alarm and displays a press any key to
  167.          continue prompt. Like a noisy pause command, handy for
  168.          summoning an operator to the keyboard.
  169.  
  170.  
  171.                                ┌──────────────┐
  172.                                │ RESET    COM │
  173.                                └──────────────┘
  174.  
  175.               This utility will perform a warm boot on your
  176.           computer. Since I use a RAM drive, I wrote a batch file
  177.           that invokes a secondary config.sys file then resets my
  178.           computer so that I can run my spreadsheet program.
  179.  
  180.  
  181.  
  182.                                ┌──────────────┐
  183.                                │ SOUND    COM │
  184.                                └──────────────┘
  185.  
  186.               Produces one of three sounds. Syntax is as follows:
  187.  
  188.               SOUND y
  189.  
  190.               Where y is A,B, or T. A is an alarm sound, B is a short
  191.          beep, and T is a takeoff sound.
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.                                ┌──────────────┐
  204.                                │ TASK     COM │
  205.                                └──────────────┘
  206.  
  207.               Timed ASK utility will display a prompt and wait for the
  208.          given amount of time for a yes or no response. Returns the
  209.          following DOS errorlevels:
  210.  
  211.               1 = YES
  212.               2 = NO
  213.               3 = NO RESPONSE (TIMEOUT)
  214.  
  215.  
  216.                                ┌──────────────┐
  217.                                │ TOGGLE   COM │
  218.                                └──────────────┘
  219.  
  220.               This will allow you to control the status of the
  221.           CAPSLOCK, NUMLOCK, and SCROLL LOCK keys. The syntax is:
  222.  
  223.           toggle +c
  224.  
  225.               This sets CAPSLOCK on. Valid switches are: +c -c +n -n
  226.           +s -s
  227.               This is useful to be sure what case letter is being
  228.           typed when you check for scan codes with REPLY.COM.
  229.  
  230.  
  231.                                ┌──────────────┐
  232.                                │ TUNE     COM │
  233.                                └──────────────┘
  234.  
  235.               Another noise maker. This one will play one of
  236.          five tunes at the specified speed. Syntax is:
  237.  
  238.               TUNE t.s
  239.  
  240.               Where t is a number 1-5 for the tune you want
  241.          and s is a number 1-9 for the speed at which to
  242.          play the tune, (1=fast 9=slow).
  243.  
  244.  
  245.                                ┌──────────────┐
  246.                                │ VCOPY    COM │
  247.                                └──────────────┘
  248.  
  249.               Virtual Copy will copy a group of files to floppy disks,
  250.          prompting you for new disks as the target gets full. Can take
  251.          the place of the DOS backup command unless you have a single